package org.jin.samples.service.impl;

import java.util.List;

import org.jin.samples.dao.ITestTypeDao;
import org.jin.samples.model.ExamTestType;
import org.jin.samples.service.ITestTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class TestTypeServiceImpl implements ITestTypeService{
	
	@Autowired
	private ITestTypeDao testTypeDao;
	
	public List<ExamTestType> findAllTestType(){
		return testTypeDao.find("FROM ExamTestType");
	}
	
}
